
package com.insigma.business.qrcode.soldier.service;



import com.insigma.business.qrcode.soldier.dto.CommonDataDictBSearcher;
import com.insigma.business.qrcode.soldier.entity.CommonDataDictDO;

import java.util.List;


public interface CommonDataDictService {

    CommonDataDictDO getByCode(String code);

    List<CommonDataDictDO> search(final CommonDataDictBSearcher innerSearcher);

    String getDictLable(String moduleName,String code);
    
    CommonDataDictDO get(final String moduleName);

    
    Integer insert(final CommonDataDictDO commonDataDict);

    
    Integer update(final CommonDataDictDO commonDataDict);

    
    Integer delete(final String moduleName, final String modifierType, final String modifierId);

    Integer append(String module, String code, String value);

    Integer deleteByCode(String code, final String modifierType, final String modifierId);
    Integer setUsed(String code);



}
